[Android] Putting Serializable Classes into SQL?
Posted
by CaseyB
on Stack Overflow
See other posts from Stack Overflow
or by CaseyB
Published on 2010-05-04T22:11:48Z
Indexed on
2010/05/04
22:18 UTC
Read the original article
Hit count: 183
Here's the situation. I have a bunch of objects that implement Serializable
that I want to store in a SQL database. I have two questions
- Is there a way to serialize the object directly into the database
- Is that the best way to do it or should I
- Write the object out to a formatting
String
and put it in the database that way and then parse it back out - Write each member to the database with a field that is unique to each object
- Write the object out to a formatting
© Stack Overflow or respective owner